#ifndef  __DISPLAY_H_
#define  __DISPLAY_H_

#include "ICTCLAS2011.h"
#include <stdint.h>
#include "globals.h"
#include "common.h"
#include "termlist.h"

class Display {
public:
  Display() {}
  ~Display() {}

  int load();
  void append_display(char* text, bool is_seg);
  void reset();
  void serialize(uint32_t id);

  void chg_file(int fid);

private:
  char* 	m_buff;
  uint32_t 	m_len;

  FILE* 	ofp;
};
















#endif  //__DISPLAY_H_
